#!/usr/bin/env bash

if [ $# -ne 1 ];then
    echo "Usage: ~/grep.sh [查询字符串]"
	exit
fi

file=$1
grep -h $1 * | ~/jq  .